package com.spring.daily.web.model;

import java.util.Date;
import java.util.List;

import com.spring.common.web.dto.BaseDTO;

public class WeeklyRecordBase extends BaseDTO{
	private String className;
	private Date enterDate;
	private Integer babySex;
	private Date babyBirthday;
	private String babyName;
	private String babyEnglishName;
	private String teacherName;
	private String teacherComment;
	private String parentsComment;
	private Integer hasRead;
	private Date recordDate;
	private Date parentsCommentTime;
	private Date createdtime;
	
	private String courseClassid;
	private String babyId;
	private String id;
	private String teacherId;
	
	public String getBabyImage() {
		return babyImage;
	}
	public void setBabyImage(String babyImage) {
		this.babyImage = babyImage;
	}
	private String babyImage;
	
	public String getParentid() {
		return parentid;
	}
	public void setParentid(String parentid) {
		this.parentid = parentid;
	}
	public String getParentRole() {
		return parentRole;
	}
	public void setParentRole(String parentRole) {
		this.parentRole = parentRole;
	}
	private String parentid;
	private String parentRole;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getCourseClassid() {
		return courseClassid;
	}
	public void setCourseClassid(String courseClassid) {
		this.courseClassid = courseClassid;
	}
	public String getBabyId() {
		return babyId;
	}
	public void setBabyId(String babyId) {
		this.babyId = babyId;
	}
	public String getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public long getCreatedtime() {
		if(createdtime==null){
			return 0;
		}
		return createdtime.getTime()/1000;
	}
	public void setCreatedtime(Date createdtime) {
		this.createdtime = createdtime;
	}
	private List<WeeklyRecordQuestionBase> question;
	public List<WeeklyRecordQuestionBase> getQuestion() {
		return question;
	}
	public void setQuestion(List<WeeklyRecordQuestionBase> question) {
		this.question = question;
	}
	public long getParentsCommentTime() {
		if(parentsCommentTime==null){
			return 0;
		}
		return parentsCommentTime.getTime()/1000;
	}
	public void setParentsCommentTime(Date parentsCommentTime) {
		this.parentsCommentTime = parentsCommentTime;
	}

	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public long getEnterDate() {
		if(enterDate==null){
			return 0;
		}
		return enterDate.getTime()/1000;
	}
	public void setEnterDate(Date enterDate) {
		this.enterDate = enterDate;
	}
	public Integer getBabySex() {
		return babySex;
	}
	public void setBabySex(Integer babySex) {
		this.babySex = babySex;
	}
	public String getBabyName() {
		return babyName;
	}
	public void setBabyName(String babyName) {
		this.babyName = babyName;
	}
	public long getBabyBirthday() {
		if(babyBirthday==null){
			return 0;
		}
		return babyBirthday.getTime()/1000;
	}
	public void setBabyBirthday(Date babyBirthday) {
		this.babyBirthday = babyBirthday;
	}
	public String getBabyEnglishName() {
		return babyEnglishName;
	}
	public void setBabyEnglishName(String babyEnglishName) {
		this.babyEnglishName = babyEnglishName;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public String getTeacherComment() {
		return teacherComment;
	}
	public void setTeacherComment(String teacherComment) {
		this.teacherComment = teacherComment;
	}
	public String getParentsComment() {
		return parentsComment;
	}
	public void setParentsComment(String parentsComment) {
		this.parentsComment = parentsComment;
	}
	public Integer getHasRead() {
		return hasRead;
	}
	public void setHasRead(Integer hasRead) {
		this.hasRead = hasRead;
	}
	public long getRecordDate() {
		if(recordDate==null){
			return 0;
		}
		return recordDate.getTime()/1000;
	}
	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}

}
